/*
** putscrn.c
**
** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
** Redistributed by permission.
*/

#include "pictor.h"

/*
** Writes a buffer that was filled by getscrn() back to the screen.
*/
void putscrn(int *buffer,int top,int left,int height,int width)
{
	int row,col;

	for(row = 0;row < height;row++) {
		setvpos(top + row,left);
		for(col = 0;col < width;col++)
			vputca(*buffer++);
	}

} /* putscrn */
